package com.whale.kernel.model.pagination;

import java.util.List;

public class PagedList<T> {

	private Long total;
	private List<T> result;

	public PagedList(Long total, List<T> result) {
		this.total = total;
		this.result = result;
	}
	
	public Long getTotal() {
		return total;
	}

	public void setTotal(Long total) {
		this.total = total;
	}

	public List<T> getResult() {
		return result;
	}

	public void setResult(List<T> result) {
		this.result = result;
	}

}
